package com.t235.gc.feign.goods;

import com.t235.gc.AjaxResult;
import com.t235.gc.vo.GoodsVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "gc-goods",fallbackFactory = GoodsRemoteClientFallbackFactory.class)
public interface GoodsRemoteClient {
    @RequestMapping("/api/goods/admin/getBackGoodsList")
    AjaxResult getBackDeviceCabinetList(@RequestBody GoodsVo goodsVo, @RequestParam("page") Integer page ,@RequestParam("limit") Integer limit);
}
